@file:Suppress("unused")

package com.example.base.tools

import android.content.Context
import com.therouter.router.Route
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import java.lang.reflect.Type

@Route(path = "/baseParser/json")
class RouteParamsParseTool {

    private val gson: Gson by lazy {
        GsonBuilder().create()
    }
   /* : SerializationService
    override fun init(context: Context?) {}

    override fun <T : Any?> json2Object(input: String?, clazz: Class<T>?): T =
        JsonTool.json2Object(input, clazz)

    override fun object2Json(instance: Any?): String = JsonTool.object2Json(instance)

    override fun <T : Any?> parseObject(input: String?, clazz: Type?): T =
        JsonTool.parseObject(input, clazz)*/

}